package com.edu.hibernate;

import java.sql.Timestamp;

/**
 * Comment entity. @author MyEclipse Persistence Tools
 */

public class Comment implements java.io.Serializable {

	// Fields

	private Integer commentId;
	private Integer parentComment;
	private Integer lectureId;
	private String contents;
	private String createBy;
	private Timestamp createDate;
	private String modifireBy;
	private Boolean status;

	// Constructors

	/** default constructor */
	public Comment() {
	}

	/** minimal constructor */
	public Comment(Integer commentId) {
		this.commentId = commentId;
	}

	/** full constructor */
	public Comment(Integer commentId, Integer parentComment, Integer lectureId,
			String contents, String createBy, Timestamp createDate,
			String modifireBy, Boolean status) {
		this.commentId = commentId;
		this.parentComment = parentComment;
		this.lectureId = lectureId;
		this.contents = contents;
		this.createBy = createBy;
		this.createDate = createDate;
		this.modifireBy = modifireBy;
		this.status = status;
	}

	// Property accessors

	public Integer getCommentId() {
		return this.commentId;
	}

	public void setCommentId(Integer commentId) {
		this.commentId = commentId;
	}

	public Integer getParentComment() {
		return this.parentComment;
	}

	public void setParentComment(Integer parentComment) {
		this.parentComment = parentComment;
	}

	public Integer getLectureId() {
		return this.lectureId;
	}

	public void setLectureId(Integer lectureId) {
		this.lectureId = lectureId;
	}

	public String getContents() {
		return this.contents;
	}

	public void setContents(String contents) {
		this.contents = contents;
	}

	public String getCreateBy() {
		return this.createBy;
	}

	public void setCreateBy(String createBy) {
		this.createBy = createBy;
	}

	public Timestamp getCreateDate() {
		return this.createDate;
	}

	public void setCreateDate(Timestamp createDate) {
		this.createDate = createDate;
	}

	public String getModifireBy() {
		return this.modifireBy;
	}

	public void setModifireBy(String modifireBy) {
		this.modifireBy = modifireBy;
	}

	public Boolean getStatus() {
		return this.status;
	}

	public void setStatus(Boolean status) {
		this.status = status;
	}

}